home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / mac / DirectX SDK / DXSDK / include / DShowIDL / dshowasf.idl < prev    next >
Text File  |  2001-10-08  |  2KB  |  60 lines

  1. //------------------------------------------------------------------------------
  2. // File: DShowASF.idl
  3. //
  4. // Desc: 
  5. //
  6. // Copyright (c) 1992-2001, Microsoft Corporation. All rights reserved.
  7. //------------------------------------------------------------------------------
  8.  
  9.  
  10. import  "unknwn.idl";
  11. import  "objidl.idl";
  12. import  "strmif.idl";           // for media type and time definitions
  13. import  "wmsdkidl.idl";
  14.  
  15. cpp_quote( "EXTERN_GUID( IID_IConfigAsfWriter,0x45086030,0xF7E4,0x486a,0xB5,0x04,0x82,0x6B,0xB5,0x79,0x2A,0x3B );" )
  16.  
  17. interface IConfigAsfWriter;
  18. interface IWMProfile;
  19.  
  20. // Interface to control the ASF writer
  21. [
  22. object,
  23. uuid(45086030-F7E4-486a-B504-826BB5792A3B),
  24. pointer_default(unique)
  25. ]
  26. interface IConfigAsfWriter : IUnknown
  27. {
  28.     //
  29.     // The user is expected to enumerate profiles using the wmsdk IWMProfileManager
  30.     // method and then pass the desired profile index to the ASF Writer filter via this
  31.     // method. The filter will then try to configure itself for the selected profile.
  32.     //
  33.     // NOTE: These 2 XXXProfileId methods are now obsolete because they assume 
  34.     //       version 4.0 WMSDK profiles. To configure the filter for later profile 
  35.     //       versions using a profile index, use the XXXProfile methods which take 
  36.     //       the IWMProfile* directly.
  37.     //
  38.     HRESULT ConfigureFilterUsingProfileId([in] DWORD dwProfileId);
  39.     HRESULT GetCurrentProfileId([out] DWORD *pdwProfileId);
  40.  
  41.     //    
  42.     // configure using a pre-defined wmsdk profile guid
  43.     //
  44.     HRESULT ConfigureFilterUsingProfileGuid([in] REFGUID guidProfile);
  45.     HRESULT GetCurrentProfileGuid([out] GUID *pProfileGuid);
  46.  
  47.     //
  48.     // Use these methods when a custom profile setup is preferred
  49.     //
  50.     HRESULT ConfigureFilterUsingProfile([in] IWMProfile * pProfile);
  51.     HRESULT GetCurrentProfile([out] IWMProfile **ppProfile);
  52.  
  53.     //
  54.     // allow app to control whether or not to index file
  55.     //
  56.     HRESULT SetIndexMode( [in]  BOOL bIndexFile );
  57.     HRESULT GetIndexMode( [out] BOOL *pbIndexFile );
  58. }
  59.  
  60.